package com.gientech.service.impl;

import com.gientech.entity.MenuInfo;
import com.gientech.mapper.MenuInfoMapper;
import com.gientech.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : 钟鸣星
 * @date : 2023年01月01日
 */
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    private MenuInfoMapper menuInfoMapper;

    @Override
    public List<MenuInfo> getMenuListByUserId(Long userId) {
        return menuInfoMapper.getMenuListByUserId(userId);
    }
}
